package com.aipanda.pojo;

import java.io.Serializable;

/**
 * 当事人类
 * @author wanyuxiang
 *
 */
public class Principal implements Serializable {
	private static final long serialVersionUID = 5798882004228239559L;
	private Long id;
	private String username;

	public Principal(Long id, String username) {
		this.id = id;
		this.username = username;
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String toString() {
		return this.username;
	}
}
